﻿using System.Collections.Generic;
using NTQOnlineExam.Services.Models;

namespace NTQOnlineExamFrontend.Models
{
    public class ExaminationHistoryViewModel
    {
        public IList<ExaminationDTO> Exams { get; set; }
        public int PageCount { get { return TotalRecords / PageSize + (TotalRecords % PageSize > 0 ? 1 : 0); } }
        public int SelectedPage { get; set; }
        public const int PageSize = 10;
        public int TotalRecords { get; set; }
    }
}